using System;
using SheLife.Domain.Common;

namespace SheLife.Domain.Entities
{
    /// <summary>
    /// 成长目标记录实体类
    /// </summary>
    public class GrowthGoalRecord : BaseEntity
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 目标ID
        /// </summary>
        public Guid GoalId { get; set; }

        /// <summary>
        /// 记录日期
        /// </summary>
        public DateTime RecordDate { get; set; }

        /// <summary>
        /// 记录内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 记录图片
        /// </summary>
        public string Images { get; set; }

        /// <summary>
        /// 记录类型
        /// </summary>
        public string RecordType { get; set; }

        /// <summary>
        /// 完成状态
        /// </summary>
        public string CompletionStatus { get; set; }

        /// <summary>
        /// 完成进度
        /// </summary>
        public decimal CompletionProgress { get; set; }

        /// <summary>
        /// 花费时间（分钟）
        /// </summary>
        public int TimeSpent { get; set; }

        /// <summary>
        /// 情绪状态
        /// </summary>
        public string MoodStatus { get; set; }

        /// <summary>
        /// 困难程度
        /// </summary>
        public string Difficulty { get; set; }

        /// <summary>
        /// 收获与感悟
        /// </summary>
        public string Insights { get; set; }

        /// <summary>
        /// 明日计划
        /// </summary>
        public string TomorrowPlan { get; set; }

        /// <summary>
        /// 评分
        /// </summary>
        public decimal Rating { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public Guid CreatedBy { get; set; }

        /// <summary>
        /// 更新人ID
        /// </summary>
        public Guid? UpdatedBy { get; set; }

        // 导航属性
        public SystemUser User { get; set; }
        public GrowthGoal Goal { get; set; }
    }
}